<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" Content="text/html; charset=Windows-1252">

<TITLE>Switch -EP4&lt;path&gt; - exclude the path prefix from names</TITLE>

<link href="style.css" rel="stylesheet" type="text/css">
</HEAD>

<BODY>

<P class="title">Switch <B>-EP4&lt;path&gt;</B> - exclude the path prefix
from names<hr></P>

<p>If this switch is used when archiving, the specified path is excluded
from archived names if it is found in the beginning of such name,
but does not match the entire name. Comparison is performed with names
already prepared to store in archive, with removed drive letters
and leading path separators. For example:</p>

<p class="sample">WinRAR a -ep4texts\books archive c:\texts\books\technical</p>

<p>removes "text\books" from archived names, so they start from 'technical'.
Since comparison is performed with names, as they are stored in archive,
we can't use -ep4c:\texts\books.</p>

<p>If this switch is used when extracting, it works similarly to
<a href="HELPSwAP.htm">-ap&lt;path&gt;</a> switch. Path is removed
if it is present in the beginning of archived file name. For example:</p>

<p class="sample">WinRAR x -ep4texts\books archive</p>

<p>removes 'texts\books' from those archived paths, which start from it.</p>

</BODY>
</HTML>
